package com.yc.system.service.impl;

import com.yc.common.core.domain.entity.SysRole;
import com.yc.system.mapper.SysRoleMapper;
import com.yc.system.service.ISysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("sysRoleService")
public class SysRoleServiceImpl implements ISysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public SysRole getDefaultRole() {
        return sysRoleMapper.findDefaultRole();
    }
}
